home *** CD-ROM | disk | FTP | other *** search
- light("spot_shadowmap")
- {
- pass()
- {
- VertexShader("SpotShadowMapVSLow.vsh")
- tmu()
- {
- texgen("spotlight")
- texture()
- {
- shadowmap()
- addressfunc("clamp", "clamp", "clamp")
- }
- ColorOp("arg1", "texture", "current", "current")
- }
-
- tmu()
- {
- texgen("shadowmap_z")
-
- texture()
- {
- image("spot_z_inv.png")
- addressfunc("clamp", "clamp", "clamp")
- filtering("no_filtering")
- }
- ColorOp("mul", "texture", "current", "current")
-
- }
-
- tmu()
- {
- texture()
- {
- Image(%colortexture)
- addressfunc("clamp", "clamp", "clamp")
- }
- ColorOp("mul", "texture_a", "current", "current")
- AlphaOp("arg2", "texture", "tfactor", "current")
- }
-
-
- blendfunc("zero", "inv_src_color")
-
- depthfunc("lequal", 0)
- tfactor(0,0,0,0)
- blackfog()
- }
-
- }
-
-